<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('商品件数')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-num" class="form-control"  disabled name="row[num]" type="number"
                    value="{$row.num|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('预计天数')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-send_day" class="form-control" name="row[send_day]" type="number"
                    value="{$row.send_day|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('运输备注')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-mark" class="form-control" name="row[mark]" type="text" value="{$row.mark|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Express_com')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-express_id" data-rule="" data-source="category/selectpage" class="form-control selectpage"
                    data-params='{"custom[type]":"wl","custom[type]":"wl"}' name="row[express_id]" type="text"
                    value="{$row.express_id|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Express_no')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-express_no" class="form-control" name="row[express_no]" type="text"
                    value="{$row.express_no|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('物流凭证')}:</label>
            <div class="col-xs-12 col-sm-8">
                {if ($row['send_type']==1&&$acct_id!=0)||($row['send_type']==2&&$acct_id==0)}
                <ul class="row list-inline faupload-preview" id="p-express_images" data-listidx="0">
                    {php}
                    $express_images=explode(',',$row['express_images']);
                    {/php}
                    {foreach name="express_images" item="vo" key="k"}
                    <li class="col-xs-3">
                        <a href="{$vo}" data-url="{$vo}" target="_blank" class="thumbnail">
                            <img src="{$vo}" onerror="this.src='/kai.php/ajax/icon?suffix=png';this.onerror=null;"
                                class="img-responsive">
                        </a>
                    </li>
                    {/foreach}
                </ul>

                {else}
                <div class="input-group">
                    <input id="c-express_images" class="form-control" size="50" name="row[express_images]" type="text"
                        value="{$row.express_images|htmlentities}">
                    <div class="input-group-addon no-border no-padding">
                        <span>
                            <button type="button" id="faupload-express_images" class="btn btn-danger faupload"
                                data-input-id="c-express_images"
                                data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp"
                                data-multiple="true" data-preview-id="p-express_images"><i class="fa fa-upload"></i>
                                {:__('Upload')}</button>
                        </span>
                        <!-- <span><button type="button" id="fachoose-express_images" class="btn btn-primary fachoose"
                            data-input-id="c-express_images" data-mimetype="image/*" data-multiple="true"><i
                                class="fa fa-list"></i> {:__('Choose')}</button></span> -->
                    </div>
                    <span class="msg-box n-right" for="c-express_images"></span>
                </div>
                <ul class="row list-inline faupload-preview" id="p-express_images"></ul>
                {/if}
            </div>
        </div>
    </div>
    {if $row.status=='0.6' }

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
    {/if}

</form>